package com.pubinfo.passbook.common.service.master.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.pubinfo.passbook.common.entity.TSourceNormal;
import com.pubinfo.passbook.common.mapper.TSourceNormalMapper;
import com.pubinfo.passbook.common.model.bo.NormalInvoiceInfo;
import com.pubinfo.passbook.common.service.master.TSourceNormalService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class TSourceNormalServiceImpl extends ServiceImpl<TSourceNormalMapper, TSourceNormal>
    implements TSourceNormalService {
  @Override
  public boolean insertList(List<TSourceNormal> list) {
    return baseMapper.insertList(list);
  }
  
  @Override
  public List<NormalInvoiceInfo> selectListById(List<String> invoiceIds) {
    return baseMapper.normalByIds(invoiceIds);
  }
}




